package com.Hsu.demo.controller;

import com.Hsu.demo.aspect.MyAspect;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Hsu琛君珩
 * @ClassName:TestController
 * @date 2024-01-16
 * @apiNote
 * @Version: v1.0
 */

@RequestMapping("/test")
@RestController
public class TestController {
    @RequestMapping("t1")
    public String t1(){
        return "t1";
    }

    @MyAspect
    @RequestMapping("t2")
    public String t2(){
        return "t2";
    }
}
